class TranslitToStyleGenerator < Rails::Generator::Base

  #< Rails::Generator::NamedBase
  def manifest
    record do |m|

      #Javascript
      m.file "javascripts/translit_to.js", "public/javascripts/translit_to.js"
      
      #Stylesheets:
      #copy the calender_converter_style.css to "public/stylesheets/"
      m.file "stylesheets/translit_to.css", "public/stylesheets/translit_to.css"
     
      #Images:
      #Create folder "calender_converter" in "public/images/"
      m.directory("public/images/translit_to")
      
      #copy each image from images/calender_converter folder to "public/images/calender_converter"
      #TODO copy each image from images/calender_converter to "public/images/" with method!
      m.file "images/translit_to/arr.gif", "public/images/translit_to/arr.gif"
      m.file "images/translit_to/close_indicator.png", "public/images/translit_to/close_indicator.png"
      m.file "images/translit_to/open_indicator.png", "public/images/translit_to/open_indicator.png"
      m.file "images/translit_to/sidebar-box-b.gif", "public/images/translit_to/sidebar-box-b.gif"
      m.file "images/translit_to/sidebar-h2.gif", "public/images/translit_to/sidebar-h2.gif"
    end
  end
end